package com.changgou.business.service.impl;

import com.changgou.business.dao.AConfigMapper;
import com.changgou.business.pojo.AConfig;
import com.changgou.business.service.AConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AConfigServiceImpl implements AConfigService {
    @Autowired
    private AConfigMapper mapper;

    @Override
    public List<AConfig> findDataTime(int cate_id) {
        List<AConfig> aConfigList = mapper.findDataTime(cate_id);
//        List<AConfig> aConfigList = mapper.selectAll();
        return aConfigList;
    }
}
